package io.rehuo.modules.app.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shiguang
 * @date 2022年09月18日 0:33
 */
@Data
public class UserRelationForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司电话")
    @NotNull(message="params is not null")
    private Long relationId;

    @ApiModelProperty(value = "公司电话")
    @NotBlank(message="params is not null")
    private String userName;

    @ApiModelProperty(value = "公司电话")
    @NotBlank(message="params is not null")
    private String userPhone;
}
